package com.example.micrapi.feign;

import com.example.micrapi.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @description: 用户服务Feign接口
 * @author: uu
 * @date: 2024/3/10 18:59
 */
@FeignClient(value = "dataservice", path = "/dataservice/user", contextId = "user")
public interface UserServiceFeign {
    @PutMapping("/updateUserInfo")
    Boolean updateUserInfo(@RequestBody User user);

}
